package grape.wx.rest.mp.reply.vo;
import grape.base.service.dict.api.IDictService;
import grape.common.rest.vo.BaseIdVo;

import grape.common.service.trans.TransBy;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 公众号消息回复
 * </p>
 *
 * @author yangwei
 * @since 2020-07-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="公众号消息回复数据响应对象")
public class MpMsgReplyVo extends BaseIdVo<String> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "公众号编码")
    private String appCode;

    @ApiModelProperty(value = "公众号名称")
    private String appName;

    @ApiModelProperty(value = "匹配接收人")
    private String matchFromUser;

    @ApiModelProperty(value = "匹配消息类型")
    private String matchMsgTypeDictId;

    @TransBy(type = IDictService.trans_dictName,byFieldName = "matchMsgTypeDictId")
    @ApiModelProperty(value = "匹配消息类型名称")
    private String matchMsgTypeDictName;

    @ApiModelProperty(value = "匹配事件类型")
    private String matchEventTypeDictId;

    @TransBy(type = IDictService.trans_dictName,byFieldName = "matchEventTypeDictId")
    @ApiModelProperty(value = "匹配事件类型名称")
    private String matchEventTypeDictName;

    @ApiModelProperty(value = "匹配事件key")
    private String matchEventKey;

    @ApiModelProperty(value = "匹配event_key的匹配方式")
    private String matchEventKeyMatchDictId;

    @TransBy(type = IDictService.trans_dictName,byFieldName = "matchEventKeyMatchDictId")
    @ApiModelProperty(value = "匹配event_key的匹配方式名称")
    private String matchEventKeyMatchDictName;

    @ApiModelProperty(value = "匹配内容")
    private String matchContent;

    @ApiModelProperty(value = "匹配内容的匹配方式")
    private String matchContentMatchDictId;

    @TransBy(type = IDictService.trans_dictName,byFieldName = "matchContentMatchDictId")
    @ApiModelProperty(value = "匹配内容的匹配方式名称")
    private String matchContentMatchDictName;

    @ApiModelProperty(value = "回复的消息类型")
    private String replyMsgTypeDictId;

    @TransBy(type = IDictService.trans_dictName,byFieldName = "replyMsgTypeDictId")
    @ApiModelProperty(value = "回复的消息类型名称")
    private String replyMsgTypeDictName;

    @ApiModelProperty(value = "回复内容")
    private String replyContent;

    @ApiModelProperty(value = "备注")
    private String remark;


}
